import instance from '@/utils/request';

//商品管理显示
export function GetCarrierManagementDtoAsync(data) {
    return instance.request({
        url: "api/CarrierManagement/GetCarrierManagementDto",
        method: "post",
        data
    })
}

//添加承运商
export function AddCarrierManagement(data) {
    return instance.request({
        url: "api/CarrierManagement/AddCarrierManagement",
        method: "post",
        data
    })
}

//删除承运商
export function DelCarrierManagement(data) {
    return instance.request({
        url: "api/CarrierManagement/DelCarrierManagement",
        method: "post",
        data
    })
}

//反填承运商
export function FilCarrierManagementfff(data) {
    return instance.request({
        url: "api/CarrierManagement/FilCarrierManagement",
        method: "post",
        data
    })
}

//修改承运商
export function UpdCarrierManagement(data) {
    return instance.request({
        url: "api/CarrierManagement/UpdCarrierManagement",
        method: "post",
        data
    })
}

//批量删除
export function BatchCarrierManagement(data) {
    return instance.request({
        url: "api/CarrierManagement/BatchCarrierManagement",
        method: "post",
        data
    })
}